package fr.raskal.musicalflow.domain;

import java.util.ArrayList;
import java.util.List;

public class Source {

	private String label;

	private String url;

	private List<Feed> feeds;

	/**
	 * Constructor
	 */
	public Source() {
		super();
		feeds = new ArrayList<Feed>();
	}

	/**
	 * Constructor using fields
	 */
	public Source(String label, String url, List<Feed> feeds) {
		super();
		this.label = label;
		this.url = url;
		this.feeds = feeds;
	}

	/**
	 * @return the label
	 */
	public String getLabel() {
		return label;
	}

	/**
	 * @param label
	 *            the label to set
	 */
	public void setLabel(String label) {
		this.label = label;
	}

	/**
	 * @return the feeds
	 */
	public List<Feed> getFeeds() {
		return feeds;
	}

	/**
	 * @param feeds
	 *            the feeds to set
	 */
	public void setFeeds(List<Feed> feeds) {
		this.feeds = feeds;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url
	 *            the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
}
